package homework_06;

/**
 * 笔记本电脑类
 */
public class MPc {
    char color;
    int cpu;

    public MPc(){

    }

    public MPc(char color, int cpu){
        this.color = color;
        this.cpu = cpu;
    }

    public void showAll(){
        System.out.println("该笔记本颜色为"+color+",cpu型号为"+cpu);
    }
}
